//
//  SXBaseRefreshViewController.h
//  ShiXun
//
//  Created by lanou on 15/10/24.
//  Copyright © 2015年 张琪. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SXRootRightViewController.h"

@interface SXBaseRefreshViewController : UIViewController
{
    @protected
    UITableView *_mainTableView;
    NSInteger _start; // 请求数据开始参数
    NSInteger _limit; // 一次请求数据的个数
    NSMutableArray *_dataSourceArray; // 给tableView提供数据
    UILabel *_loadingTitleLabel; // 下拉显示的label
    NSString *_URLString;
    BOOL _isRefreshMore;
}

@property (nonatomic, strong) UITableView *mainTableView;
@property (nonatomic, assign) NSInteger start;
@property (nonatomic, assign) NSInteger limit;
@property (nonatomic, strong) NSMutableArray *dataSourceArray;
@property (nonatomic, strong) UILabel *loadingTitleLabel;
@property (nonatomic, assign) BOOL isRefreshMore;

@property (nonatomic, copy) NSString *URLString;
@property (nonatomic, weak) SXRootRightViewController *rootRightVC;

// 移除刷新
- (void)removeLoadingView;

@end
